package com.daniel.design.pattern.singleton.demo8;

/**
 * @ClassName Singleton
 * @Description 枚举单例
 * @Author Daniel
 * @Version V1.0.0
 */
public enum Singleton {
    /**
     * 单例
     */
    INSTANCE;

    String getMethod() {
        return "你好";
    }
}
